package com.ruoyi.webContent.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 网站交易对象 pl_host_trade
 * 
 * @author ruoyi
 * @date 2022-04-18
 */
public class PlHostTrade extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键(网站A赔率id+_+网站B赔率id) */
    private String hostAMarketIdHostBMarketId;

    /** 游戏名称 */
    @Excel(name = "游戏名称")
    private String gameName;

    /** 网站名称 */
    @Excel(name = "网站名称")
    private String hostA;

    /** 对比网站名称 */
    @Excel(name = "对比网站名称")
    private String hostCompare;

    /** 比赛开始时间 */
    @Excel(name = "比赛开始时间")
    private String startDate;

    /** 赔率类型 */
    @Excel(name = "赔率类型")
    private String plType;

    /** 网站比赛显示 */
    @Excel(name = "网站比赛显示")
    private String hostAView;

    /** 网站A赔率 */
    @Excel(name = "网站A赔率")
    private String hostAPl;

    /** 赔率计算结果 */
    @Excel(name = "赔率计算结果")
    private Long res;

    /** 交易状态（0未发送，1已发送，2交易成功，3交易失败，4非最优交易） */
    @Excel(name = "交易状态", readConverterExp = "0=未发送，1已发送，2交易成功，3交易失败，4非最优交易")
    private String tradeStatus;

    /** 网站比赛id */
    @Excel(name = "网站比赛id")
    private String hostACode;

    /** 网站A赔率id */
    @Excel(name = "网站A赔率id")
    private String hostAmarketId;

    /** 对比网站赔率id */
    @Excel(name = "对比网站赔率id")
    private String hostBmarketId;

    //最大额度
    private Integer quota;

    //购买金额
    private  Integer purchase;

    //购买手数
    private int lot;

    public void setHostAMarketIdHostBMarketId(String hostAMarketIdHostBMarketId) 
    {
        this.hostAMarketIdHostBMarketId = hostAMarketIdHostBMarketId;
    }

    public String getHostAMarketIdHostBMarketId() 
    {
        return hostAMarketIdHostBMarketId;
    }
    public void setGameName(String gameName) 
    {
        this.gameName = gameName;
    }

    public String getGameName() 
    {
        return gameName;
    }
    public void setHostA(String hostA) 
    {
        this.hostA = hostA;
    }

    public String getHostA() 
    {
        return hostA;
    }
    public void setHostCompare(String hostCompare) 
    {
        this.hostCompare = hostCompare;
    }

    public String getHostCompare() 
    {
        return hostCompare;
    }
    public void setStartDate(String startDate) 
    {
        this.startDate = startDate;
    }

    public String getStartDate() 
    {
        return startDate;
    }
    public void setPlType(String plType) 
    {
        this.plType = plType;
    }

    public String getPlType() 
    {
        return plType;
    }
    public void setHostAView(String hostAView) 
    {
        this.hostAView = hostAView;
    }

    public String getHostAView() 
    {
        return hostAView;
    }
    public void setHostAPl(String hostAPl) 
    {
        this.hostAPl = hostAPl;
    }

    public String getHostAPl() 
    {
        return hostAPl;
    }
    public void setRes(Long res) 
    {
        this.res = res;
    }

    public Long getRes() 
    {
        return res;
    }
    public void setTradeStatus(String tradeStatus) 
    {
        this.tradeStatus = tradeStatus;
    }

    public String getTradeStatus() 
    {
        return tradeStatus;
    }
    public void setHostACode(String hostACode) 
    {
        this.hostACode = hostACode;
    }

    public String getHostACode() 
    {
        return hostACode;
    }
    public void setHostAmarketId(String hostAmarketId)
    {
        this.hostAmarketId = hostAmarketId;
    }

    public String getHostAmarketId()
    {
        return hostAmarketId;
    }
    public void setHostBmarketId(String hostBmarketId)
    {
        this.hostBmarketId = hostBmarketId;
    }

    public String getHostBmarketId()
    {
        return hostBmarketId;
    }

    public Integer getQuota() {
        return quota;
    }

    public void setQuota(Integer quota) {
        this.quota = quota;
    }

    public Integer getPurchase() {
        return purchase;
    }

    public void setPurchase(Integer purchase) {
        this.purchase = purchase;
    }

    public int getLot() {
        return lot;
    }

    public void setLot(int lot) {
        this.lot = lot;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("hostAMarketIdHostBMarketId", getHostAMarketIdHostBMarketId())
            .append("gameName", getGameName())
            .append("hostA", getHostA())
            .append("hostCompare", getHostCompare())
            .append("startDate", getStartDate())
            .append("plType", getPlType())
            .append("hostAView", getHostAView())
            .append("hostAPl", getHostAPl())
            .append("res", getRes())
            .append("tradeStatus", getTradeStatus())
            .append("hostACode", getHostACode())
            .append("hostAMarketId", getHostAmarketId())
            .append("hostBMarketId", getHostBmarketId())
            .toString();
    }


}
